package com._54programer.ioc.config.condition;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

public class MyImportSelector implements ImportSelector {

    /**
     * @param annotationMetadata
     * @return 组件全类名
     */
    public String[] selectImports(AnnotationMetadata annotationMetadata) {
        return new String[]{"Person", "Color"};
    }
}
